package com.niit.springbootshop.service.impl;

import com.niit.springbootshop.dao.CategorysecondDao;
import com.niit.springbootshop.entity.Categorysecond;
import com.niit.springbootshop.service.CategorySecondService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: springboot-demo
 * @description:
 * @author: hanliang
 * @create: 2021-05-11 09:34
 **/
@Service
public class CategorySecondServiceImpl implements CategorySecondService {
    @Autowired
    CategorysecondDao dao;

    @Override
    public List<Categorysecond> getByCid(Integer cid) {
        return dao.getByCid(cid);
    }
}
